package com.example.demo.service;



import com.example.demo.pojo.Dept;

import java.util.List;

/**
 * 部门管理
 */
public interface DeptService {
    List<Dept> findAllDepts();

    int deleteDeptById(int id);

    int insertDept(Dept dept);

    Dept findDeptById(int id);

    int updateDept(Dept dept);
}
